import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:yi_shop/utils/colors.dart';
import 'package:yi_shop/utils/styles.dart';
import 'package:yi_shop/utils/svg.dart';
import 'package:yi_shop/utils/tools.dart';

class MemberCenterQuestionController extends GetxController {
  RxInt tabIndex = 0.obs;
}

class MemberCenterQuestionPage extends GetView<MemberCenterQuestionController> {
  const MemberCenterQuestionPage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(
        backgroundColor: Colors.white,
        leading: ToolsUtils.builderLeading(color: Colors.black),
        title: Center(
          child: Obx(() => CupertinoSegmentedControl<int>(
                onValueChanged: (int value) {
                  controller.tabIndex.value = value;
                },
                children: {
                  0: Container(
                    constraints: const BoxConstraints.expand(width: 90, height: 30),
                    alignment: Alignment.center,
                    decoration: const BoxDecoration(
                      borderRadius: BorderRadius.only(
                          topLeft: Radius.circular(5), bottomLeft: Radius.circular(5)),
                    ),
                    child: Text(
                      '会员介绍',
                      style: StylesUtils.customTextStyle(
                          color: controller.tabIndex.value == 0
                              ? ColorsUtils.colorFfff
                              : ColorsUtils.colorF048,
                          fontSize: StylesUtils.fontSize13),
                    ),
                  ),
                  1: Container(
                    constraints: const BoxConstraints.expand(width: 90, height: 30),
                    alignment: Alignment.center,
                    decoration: const BoxDecoration(
                      borderRadius: BorderRadius.only(
                          topRight: Radius.circular(5), bottomRight: Radius.circular(5)),
                    ),
                    child: Text(
                      '成长值介绍',
                      style: StylesUtils.customTextStyle(
                          color: controller.tabIndex.value == 1
                              ? ColorsUtils.colorFfff
                              : ColorsUtils.colorF048,
                          fontSize: StylesUtils.fontSize13),
                    ),
                  )
                },
                groupValue: controller.tabIndex.value,
                borderColor: ColorsUtils.parseColorFromHexString(ColorsUtils.colorF048),
                selectedColor: ColorsUtils.parseColorFromHexString(ColorsUtils.colorF048),
                unselectedColor: Colors.white,
                padding: EdgeInsets.zero,
              )),
        ),
        systemOverlayStyle: SystemUiOverlayStyle.dark,
      ),
      body: SingleChildScrollView(
        padding: const EdgeInsets.only(bottom: 30),
        child: Column(
          children: [
            Obx(() => Visibility(
                  visible: controller.tabIndex.value == 0,
                  child: Padding(
                    padding: const EdgeInsets.symmetric(horizontal: 15),
                    child: Column(
                      children: [
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 15),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '1. 会员等级划分及介绍',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Container(
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '会员级别共分为4个级别，分别为普通会员、黄金会员、白金会员、钻石会员。会员级别由成长值决定，成长值越高会员等级越高，享受的会员权益越大。会员级别由系统自动处理，无需申请。',
                            style: StylesUtils.customTextStyle(
                                color: ColorsUtils.color3333,
                                fontSize: StylesUtils.fontSize13,
                                lineHeight: 1.4.h),
                          ),
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '2. 会员等级制度',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Row(
                          children: [
                            Expanded(
                                child: Column(
                              children: [
                                Container(
                                    alignment: Alignment.center,
                                    child: SizedBox(
                                      width: 35,
                                      height: 35,
                                      child: CustomPaint(
                                        painter: _DrawCircle(),
                                        child: Center(
                                          child: SvgUtils.assetName('u6318', width: 23, height: 23),
                                        ),
                                      ),
                                    )),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '普通会员',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color9999),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '100',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color9999),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Container(
                                    alignment: Alignment.center,
                                    child: SizedBox(
                                      width: 35,
                                      height: 35,
                                      child: CustomPaint(
                                        painter: _DrawCircle(),
                                        child: Center(
                                          child: SvgUtils.assetName('u6321', width: 23, height: 23),
                                        ),
                                      ),
                                    )),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '黄金会员',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color9999),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '1000',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color9999),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Container(
                                    alignment: Alignment.center,
                                    child: SizedBox(
                                      width: 35,
                                      height: 35,
                                      child: CustomPaint(
                                        painter: _DrawCircle(),
                                        child: Center(
                                          child: SvgUtils.assetName('u6324', width: 23, height: 23),
                                        ),
                                      ),
                                    )),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '铂金会员',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color9999),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '35000',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color9999),
                                  ),
                                )
                              ],
                            )),
                            Expanded(
                                child: Column(
                              children: [
                                Container(
                                    alignment: Alignment.center,
                                    child: SizedBox(
                                      width: 35,
                                      height: 35,
                                      child: CustomPaint(
                                        painter: _DrawCircle(),
                                        child: Center(
                                          child: SvgUtils.assetName('u6125', width: 23, height: 23),
                                        ),
                                      ),
                                    )),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '砖石会员',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.colorF048),
                                  ),
                                ),
                                Container(
                                  margin: const EdgeInsets.only(top: 20),
                                  alignment: Alignment.center,
                                  child: Text(
                                    '50000',
                                    style:
                                        StylesUtils.customTextStyle(color: ColorsUtils.color0000),
                                  ),
                                )
                              ],
                            ))
                          ],
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '3. 各等级会员特权',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Table(
                          defaultVerticalAlignment: TableCellVerticalAlignment.middle,
                          border: TableBorder.all(
                            color: ColorsUtils.parseColorFromHexString(ColorsUtils.colorE4e4),
                          ),
                          children: [
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '权益',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '普通会员',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '黄金会员',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '铂金会员',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '砖石会员',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              ))
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '等级标识',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SizedBox(
                                  width: 20,
                                  height: 20,
                                  child: CustomPaint(
                                    painter: _DrawCircle(),
                                    child: Center(
                                      child: SvgUtils.assetName('u6380', width: 13, height: 13),
                                    ),
                                  ),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SizedBox(
                                  width: 20,
                                  height: 20,
                                  child: CustomPaint(
                                    painter: _DrawCircle(),
                                    child: Center(
                                      child: SvgUtils.assetName('u6383', width: 13, height: 13),
                                    ),
                                  ),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SizedBox(
                                  width: 20,
                                  height: 20,
                                  child: CustomPaint(
                                    painter: _DrawCircle(),
                                    child: Center(
                                      child: SvgUtils.assetName('u6386', width: 13, height: 13),
                                    ),
                                  ),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SizedBox(
                                  width: 20,
                                  height: 20,
                                  child: CustomPaint(
                                    painter: _DrawCircle(),
                                    child: Center(
                                      child: SvgUtils.assetName('u6389', width: 13, height: 13),
                                    ),
                                  ),
                                ),
                              ))
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '满免运费',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '满199元',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '满159元',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '满99元',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '满59元',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '签到奖励',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '评价奖励',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5/条',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '+10/条',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '+15/条',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '+20/条',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '专享活动',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6394', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '会员特价',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6394', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6394', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: Text(
                                  '生日礼包',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6394', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6394', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6394', width: 20, height: 15),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                alignment: Alignment.center,
                                child: SvgUtils.assetName('u6390', width: 20, height: 15),
                              )),
                            ]),
                          ],
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '4. 特权说明',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Container(
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6407', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '等级标识',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '每个等级的会员都会有不同的专属标识',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    )
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(top: 20),
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6410', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '满免运费',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '1）运费收取的判断标准为：用户购买商品单笔订单总金额（按减去直降和返现促销的金额）。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '2）不同等级会员满免运费标准如下：',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '普通会员: 199元/每笔',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '黄金会员: 159元/每笔',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '白金会员: 99元/每笔',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '钻石会员: 59元/每笔',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(top: 20),
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6413', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '签到奖励',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '1）会员每天最多可签到1次，签到后获得相应的奖励。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '2）连续签到多天可获得额外的奖励。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '3）每月有5次补签机会，补签消耗贡献值。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(top: 20),
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6416', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '满免运费',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '1）购买的商品售价高于或等于20元时，会员在订单完成3个月内对商品进行有效评价（用户评价字数须应在10个以上）将享受相应的奖励。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '2）用户只能评价自己帐号的订单商品, 不同等级会员给予不同数量的成长值奖励。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '普通会员奖励: 5成长值/条',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '黄金会员奖励: 10成长值/条',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '白金会员奖励: 15成长值/条',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '钻石会员奖励: 20成长值/条',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(top: 20),
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6419', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '专属活动',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '黄金以上会员独有的特别活动，不定期奖励各种福利补贴。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    )
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(top: 20),
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6423', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '会员特价',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '黄金等级以上的会员，针对部分商品可以享有特殊优惠价。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    )
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                        Container(
                          margin: const EdgeInsets.only(top: 20),
                          padding: const EdgeInsets.only(left: 10),
                          child: Row(
                            crossAxisAlignment: CrossAxisAlignment.start,
                            children: [
                              Align(
                                alignment: Alignment.topCenter,
                                child: SvgUtils.assetName('u6422', width: 29, height: 25),
                              ),
                              Expanded(
                                  child: Padding(
                                padding: const EdgeInsets.only(left: 10),
                                child: Column(
                                  children: [
                                    Container(
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '生日礼包',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color3333,
                                            fontWeight: FontWeight.w700),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 15),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '完善生日资料后, 在生日周期间获得惊喜生日礼包。',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '1）特权对象: 钻石及完善生日信息的会员',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '2）特权内容: 成长值和优惠券好礼（以实际发放的为准）',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '3）领取方式: 系统自动发放',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13),
                                      ),
                                    ),
                                    Container(
                                      margin: const EdgeInsets.only(top: 10),
                                      alignment: Alignment.centerLeft,
                                      child: Text(
                                        '4）领取次数: 同一自然年内仅可获得一份生日礼包, 生日礼包领取有效期为7天, 生日前7天开始发放, 若有效期内未领取, 不再补发生日礼包',
                                        style: StylesUtils.customTextStyle(
                                            color: ColorsUtils.color6666,
                                            fontSize: StylesUtils.fontSize13,
                                            lineHeight: 1.4.h),
                                      ),
                                    ),
                                  ],
                                ),
                              ))
                            ],
                          ),
                        ),
                      ],
                    ),
                  ),
                )),
            Obx(() => Visibility(
                  visible: controller.tabIndex.value == 1,
                  child: Padding(
                    padding: const EdgeInsets.symmetric(horizontal: 15),
                    child: Column(
                      children: [
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 15),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '1. 什么是成长值',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Container(
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '成长值决定会员等级成长值越高会员等级越高享受到的会员权益越大。会员通过在本优品汇上完成登录、购物、评价、晒单等行为所获得相应的成长值。',
                            style: StylesUtils.customTextStyle(
                                color: ColorsUtils.color3333,
                                fontSize: StylesUtils.fontSize13,
                                lineHeight: 1.4.h),
                          ),
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '2. 如何获得成长值',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Table(
                          defaultVerticalAlignment: TableCellVerticalAlignment.middle,
                          border: TableBorder.all(
                            color: ColorsUtils.parseColorFromHexString(ColorsUtils.colorE4e4),
                          ),
                          children: [
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '来源',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '成长值奖励',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 30,
                                decoration: BoxDecoration(
                                    color:
                                        ColorsUtils.parseColorFromHexString(ColorsUtils.colorF2f2)),
                                alignment: Alignment.center,
                                child: Text(
                                  '详细说明',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '新手欢迎奖励',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+10',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '只能领取一次',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '设置头像',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '只能领取一次',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '设置昵称',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '只能领取一次',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '完善个人信息',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+20',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                padding: const EdgeInsets.symmetric(vertical: 5, horizontal: 8),
                                child: Text(
                                  '设置性别、生日、城市、职业、个性签名、喜欢的分类, 需全部设置完才能领取，只能领取一次',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '关注1位达人',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '首次关注后发放',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '首次分享商品或专题',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '首次完成分享后发放',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '首次购物成功',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '付款成功后发放',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '首次完成评价',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '评价成功后发放',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '每日登录',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+5',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '每日首次登录后发放',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '每日签到',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+10',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '每日完成签到后发放，连续签到5天以后发放额外奖励',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '分享商品或专题',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+10',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '每日成功分享后即获得奖励，每日上限15',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '邀请好友',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '+10',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                height: 40,
                                alignment: Alignment.center,
                                child: Text(
                                  '好友注册成功即可获得奖励',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '好友首次下单成功',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+20',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '邀请好友首次下单完成付款即可获得奖励',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '购物奖励',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+10',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '付款完成后按商品结算金额1:1的比例发放（优惠券、运费除外）',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '购物达标天数',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+10',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '自然月内购物天数达到2天, 且订单状态已完成, 次月15号发放',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                            TableRow(children: [
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '评价奖励',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                alignment: Alignment.center,
                                child: Text(
                                  '+5/+10/+15/+20',
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                              TableCell(
                                  child: Container(
                                padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 5),
                                alignment: Alignment.center,
                                child: Text(
                                  '不同等级会员成长值奖励不同',
                                  textAlign: TextAlign.center,
                                  style: StylesUtils.customTextStyle(
                                      color: ColorsUtils.color6666,
                                      fontSize: StylesUtils.fontSize13),
                                ),
                              )),
                            ]),
                          ],
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '3. 不奖励成长值',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Column(
                          children: [
                            Container(
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '1）商品评价未达标：',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666, fontSize: StylesUtils.fontSize13),
                              ),
                            ),
                            Container(
                              alignment: Alignment.centerLeft,
                              margin: const EdgeInsets.only(top: 10),
                              child: Text(
                                '  拷贝自己或者他人评价内容超过80%以上；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666, fontSize: StylesUtils.fontSize13),
                              ),
                            ),
                            Container(
                              alignment: Alignment.centerLeft,
                              margin: const EdgeInsets.only(top: 10),
                              child: Text(
                                '  使用标点符号过多；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666, fontSize: StylesUtils.fontSize13),
                              ),
                            ),
                            Container(
                              alignment: Alignment.centerLeft,
                              margin: const EdgeInsets.only(top: 10),
                              child: Text(
                                '  评价内容没有任何参考价值；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666, fontSize: StylesUtils.fontSize13),
                              ),
                            ),
                            Container(
                              alignment: Alignment.centerLeft,
                              margin: const EdgeInsets.only(top: 10),
                              child: Text(
                                '  被5名以上网友举报或者违反法律法规；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666, fontSize: StylesUtils.fontSize13),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '2）评价未达标数超过5条，则该id号一年内参与的产品评价不奖励成长值 无效评价不奖励成长值，评价赠品不奖励成长值；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '3） 同一订单或相隔15日内订单中的相同商品，只有一次评价可以获得成长值；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '4）购买时间相差超过15日的不同订单中的相同商品，可以分别评价并获得成长值。',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                          ],
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '4. 扣除成长值',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Column(
                          children: [
                            Container(
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '1）您发表的商品评价被删除，扣除的成长值与当时获得的值相同;',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '2）退货，扣除的成长值与当时获得的值相同。',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                          ],
                        ),
                        Container(
                          padding: const EdgeInsets.symmetric(vertical: 20),
                          alignment: Alignment.centerLeft,
                          child: Text(
                            '5. 特殊说明',
                            style: StylesUtils.customTextStyle(
                                fontSize: StylesUtils.fontSize18,
                                fontWeight: FontWeight.w700,
                                color: ColorsUtils.color3333),
                          ),
                        ),
                        Column(
                          children: [
                            Container(
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '1）普通会员每日登录不送成长值；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '2）商品单价低于20元，评价不送成长值；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '3）订单实际支付金额(现金、银行卡)小于20元，不送成长值；（若订单拆分，则按拆分后的子订单金额计算）',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '4）购物天数送成长值，限黄金会员及以上会员享有，以订单的完成时间为不同天次的计量单位；',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                            Container(
                              margin: const EdgeInsets.only(top: 10),
                              alignment: Alignment.centerLeft,
                              child: Text(
                                '5）购物成长值中的结算金额是指以现金、银行卡支付的金额，不包括使用优惠券、优币等其他方式支付的金额，商品运费部分不计入结算金额。',
                                style: StylesUtils.customTextStyle(
                                    color: ColorsUtils.color6666,
                                    fontSize: StylesUtils.fontSize13,
                                    lineHeight: 1.5.h),
                              ),
                            ),
                          ],
                        ),
                      ],
                    ),
                  ),
                ))
          ],
        ),
      ),
    );
  }
}

class _DrawCircle extends CustomPainter {
  Color? color;

  _DrawCircle({this.color});

  @override
  void paint(Canvas canvas, Size size) {
    color ??= ColorsUtils.parseColorFromHexString(ColorsUtils.colorF048);
    Paint paint = Paint();

    paint.style = PaintingStyle.fill;
    paint.color = Colors.white;
    canvas.drawCircle(Offset(size.width / 2, size.height / 2), size.width / 2, paint);

    paint.style = PaintingStyle.stroke;
    paint.color = color!;
    canvas.drawCircle(Offset(size.width / 2, size.height / 2), size.width / 2, paint);
  }

  @override
  bool shouldRepaint(covariant CustomPainter oldDelegate) {
    return this != oldDelegate;
  }
}
